Learn R Programming

R.oo (version 1.2.7)

DOLLAR< -.BasicObject: Makes the fields and methods of an BasicObject assignable via the $<- and the [[<- operator

Description

Makes the fields and methods of an BasicObject assignable via the $<- and the [[<- operator.

Usage

"$<-.Object"(this, name, value)
  "[[<-.Object"(this, name, value)

Arguments

name
The name of the code{set()} method or the name of the field to be assigned the new value.
value
The value to be assigned.

Value

  • Returns itself, i.e. this, as all $<- methods must do.

See Also

For more information see BasicObject.